/*
 * @Author: mhb
 * @Date: 2021-11-23 11:08:06
 * @LastEditTime: 2021-12-02 15:36:22
 * @LastEditors: Please set LastEditors
 * @Description: 党建模块路由
 * @FilePath: \cscec-pms-admin-3\src\config\routers\partyMasses.js
 */
import { RouteView } from '@/layouts'

export default {
    path: '/partyMasses',
    component: RouteView,
    name: 'PartyMasses',
    meta: {
        title: '党群'
    },
    children: [
        {
            path: '/partyMasses/partyManage',
            name: 'partyMassesPartyManage',
            meta: {
                title: '党建管理'
            },
            redirect: '/partyMasses/partyBuild/orgStructure',
            component: RouteView,
            children: [
                {
                    path: '/partyMasses/partyBuild/orgStructure',
                    name: 'PartyMassesPartyBbuildOrgStructure',
                    meta: {
                        title: '党组织架构'
                    },
                    component: () => import('@/views/partyMasses/partyBuild/orgStructure')
                },
                {
                    path: '/partyMasses/partyBuild/orgStructure/detail',
                    name: 'PartyOrgStructureDetail',
                    meta: {
                        title: '党组织信息详情',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyBuild/orgStructure/detail.vue')
                },
                {
                    path: '/partyMasses/partyMember',
                    name: 'PartyMassesPartyMember',
                    meta: {
                        title: '党员管理'
                    },
                    component: () => import('@/views/partyMasses/partyMember')
                },
                {
                    path: '/partyMasses/partyMember/detail',
                    name: 'PartyMassesPartyMemberDetail',
                    meta: {
                        title: '党员信息详情',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyMember/detail.vue')
                },
                {
                    path: '/partyMasses/partyMember/edit',
                    name: 'PartyMassesPartyMemberEdit',
                    meta: {
                        title: '党员信息编辑',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyMember/edit.vue')
                },
                {
                    path: '/partyMasses/partyMember/changeDtl',
                    name: 'PartyMassesPartyMemberChangeDtl',
                    meta: {
                        title: '党员对内转出详情',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyMember/changeDtl.vue')
                },
                {
                    path: '/partyMasses/partyManage/flexMemberInfo',
                    meta: {
                        title: '流动党员信息'
                    },
                    component: () => import('@/views/partyMasses/partyManage/flexMemberInfo')
                },
                {
                    path: '/partyMasses/partyManage/outMember',
                    meta: {
                        title: '转出党员台账'
                    },
                    component: () => import('@/views/partyMasses/partyManage/outMember')
                },
                {
                    path: '/partyMasses/partyManage/orgLife',
                    meta: {
                        title: '组织生活'
                    },
                    component: () => import('@/views/partyMasses/partyManage/orgLife')
                },
                {
                    path: '/partyMasses/partyManage/orgLife/update',
                    meta: {
                        title: '组织生活',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/orgLife/UpdateOrgLife.vue')
                },
                {
                    path: '/partyMasses/partyManage/partyActivity',
                    meta: {
                        title: '党建活动'
                    },
                    component: () => import('@/views/partyMasses/partyManage/partyActivity')
                },
                {
                    path: '/partyMasses/partyManage/partyActivity/update',
                    meta: {
                        title: '党建活动',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/partyActivity/UpdatePartyActivity.vue')
                },
                {
                    path: '/partyMasses/partyManage/studyEduc',
                    meta: {
                        title: '学习教育'
                    },
                    component: () => import('@/views/partyMasses/partyManage/studyEduc')
                },
                {
                    path: '/partyMasses/partyManage/studyEduc/update',
                    meta: {
                        title: '学习教育',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/studyEduc/update.vue')
                },
                {
                    path: '/partyMasses/partyManage/examinationPlan',
                    name: 'examinationPlan',
                    meta: {
                        title: '考试计划'
                    },
                    component: () => import('@/views/partyMasses/partyManage/examinationPlan')
                },
                {
                    path: '/partyMasses/partyManage/examinationPlan/update',
                    name: 'examinationPlanUpdate',
                    meta: {
                        title: '考试计划',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/examinationPlan/update.vue')
                },
                {
                    path: '/partyMasses/partyManage/examinationPlan/detail',
                    name: 'examinationPlanDetail',
                    meta: {
                        title: '查看考试计划',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/examinationPlan/detail.vue')
                },
                {
                    path: '/partyMasses/partyManage/examinationPlan/paper',
                    name: 'examinationPlanPaper',
                    meta: {
                        title: '查看考卷',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/examinationPlan/paper.vue')
                },
                {
                    path: '/partyMasses/partyManage/newsManage',
                    name: 'NewsManage',
                    meta: {
                        title: '新闻发布管理'
                    },
                    component: () => import('@/views/partyMasses/partyManage/newsManage')
                },
                {
                    path: '/partyMasses/partyManage/newsManage/update',
                    name: 'NewsManageUpdate',
                    meta: {
                        title: '新闻发布管理',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/newsManage/update.vue')
                },
                {
                    path: '/partyMasses/partyManage/newsManage/releasedNews',
                    name: 'ReleasedNews',
                    meta: {
                        title: '新闻列表'
                    },
                    component: () => import('@/views/partyMasses/partyManage/newsManage/releasedNews')
                },
                {
                    path: '/partyMasses/partyManage/newsManage/newsDetail',
                    name: 'NewsDetail',
                    meta: {
                        title: '新闻详情',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/partyManage/newsManage/newsDetail.vue')
                }
            ]
        },
        {
            path: '/partyMasses/partyStudyInfo',
            name: 'partyStudyInfo',
            meta: {
                title: '党建学习基础信息'
            },
            redirect: '/partyMasses/partyStudyInfo/questionsClassifyInfo',
            component: RouteView,
            children: [
                {
                    path: '/partyMasses/partyStudyInfo/questionsClassifyInfo',
                    name: 'questionsClassifyInfo',
                    meta: {
                        title: '试题分类信息'
                    },
                    component: () => import('@/views/partyMasses/partyStudyInfo/questionsClassifyInfo/index')
                },
                {
                    path: '/partyMasses/partyStudyInfo/questionBank',
                    name: 'questionBank',
                    meta: {
                        title: '考题题库'
                    },
                    component: () => import('@/views/partyMasses/partyStudyInfo/questionBank/index')
                },
                {
                    path: '/partyMasses/partyStudyInfo/testPaperSetting',
                    name: 'testPaperSetting',
                    meta: {
                        title: '考卷设置'
                    },
                    component: () => import('@/views/partyMasses/partyStudyInfo/testPaperSetting/index')
                }
            ]
        },
        {
            path: '/partyMasses/leagueManage',
            name: 'partyMassesLeagueManage',
            meta: {
                title: '团建管理'
            },
            redirect: '/partyMasses/leagueManage/orgStructure',
            component: RouteView,
            children: [
                {
                    path: '/partyMasses/leagueManage/orgStructure',
                    name: 'LeagueManageOrgStructure',
                    meta: {
                        title: '团组织架构'
                    },
                    component: () => import('@/views/partyMasses/leagueManage/orgStructure')
                },
                {
                    path: '/partyMasses/leagueManage/orgStructure/detail',
                    name: 'LeagueManageOrgStructureDetail',
                    meta: {
                        title: '团组织详情',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/leagueManage/orgStructure/detail.vue')
                },
                {
                    path: '/partyMasses/leagueManage/member',
                    name: 'LeagueManageMember',
                    meta: {
                        title: '团员管理'
                    },
                    component: () => import('@/views/partyMasses/leagueManage/member')
                },
                {
                    path: '/partyMasses/leagueManage/member/detail',
                    meta: {
                        title: '团员详情',
                        noTab: true
                    },
                    name: 'LeagueManageMemberDetail',
                    component: () => import('@/views/partyMasses/leagueManage/member/detail.vue')
                },
                {
                    path: '/partyMasses/leagueManage/member/edit',
                    meta: {
                        title: '团员详情',
                        noTab: true
                    },
                    name: 'LeagueManageMemberEdit',
                    component: () => import('@/views/partyMasses/leagueManage/member/edit.vue')
                },
                {
                    path: '/partyMasses/leagueManage/member/changeDtl',
                    meta: {
                        title: '团员对内转出详情',
                        noTab: true
                    },
                    name: 'LeagueManageMemberChangeDtl',
                    component: () => import('@/views/partyMasses/leagueManage/member/changeDtl.vue')
                },
                {
                    path: '/partyMasses/leagueManage/leagueActivity',
                    meta: {
                        title: '团建活动'
                    },
                    component: () => import('@/views/partyMasses/leagueManage/leagueActivity')
                },
                {
                    path: '/partyMasses/leagueManage/leagueActivity/update',
                    meta: {
                        title: '团建活动',
                        noTab: true
                    },
                    component: () => import('@/views/partyMasses/leagueManage/leagueActivity/update.vue')
                },
                {
                    path: '/partyMasses/leagueManage/mobileMember',
                    name: 'mobileMember',
                    meta: {
                        title: '流动团员信息'
                    },
                    component: () => import('@/views/partyMasses/leagueManage/mobileMember')
                }
            ]
        }
    ]
}




